-
Home
-
WP Statistics – Simple, privacy-friendly Google Analytics alternative
-
14.15.6 (latest)
-
Code
-
Classes
- DateRange
| Total Complexity |
67 |
| Dependencies |
6 |
| Dependents |
30 |
| Total lines |
558 |
| Lines of code |
366 |
| Logical lines of code |
135 |
| Comment lines |
94 |
| Methods |
11 |
| Properties |
1 |
Methods 11
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| compare() |
A |
48 |
16 |
29 |
| getPrevPeriod() |
A |
46 |
10 |
39 |
| getPeriods() |
A |
32 |
1 |
162 |
| get() |
A |
53 |
8 |
22 |
| retrieve() |
S |
51 |
6 |
30 |
| resolveDate() |
S |
56 |
6 |
18 |
| store() |
S |
56 |
6 |
17 |
| validate() |
S |
61 |
6 |
12 |
| getPeriodFromRange() |
S |
64 |
4 |
9 |
| getDatesInRange() |
S |
59 |
3 |
14 |
| calculateWeekRange() |
S |
58 |
1 |
14 |